#content-title
  %h1 Ruby Event Listing Application
  %p This is a prototype social event listing application. Here is a list of the events currently in the system
%ul#event-listings
  - @events.each do |thing_thats_happening|  
    %li.listing
      %a{:href => (thing_thats_happening.is_a?(Series) ? one_series_url(thing_thats_happening) : event_url(thing_thats_happening)) }= thing_thats_happening.name
      %table
        %tr
          %th Time:
          //%td= thing_thats_happening.start_time.to_s(:long_ordinal)
          %td= thing_thats_happening.start_time.strftime("%b %o at %I:%M %p")
        %tr
          %th Location: 
          %td= thing_thats_happening.place
        %tr
          %th 
            Category:
          %td
            - thing_thats_happening.categories.each do |specific|
              %a{:href => category_url(specific)}= specific.name
      %p= thing_thats_happening.description